package com.shuang.pojo;


import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 *  @DATE: 2021/09/26 15:52
 *  @Author: 小爽帅到拖网速
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "area")
@Accessors(chain = true)
public class Area implements Serializable {
    /**
     * 区域id
     */
    @TableId(value = "area_no", type = IdType.INPUT)
    private String areaNo;

    /**
     * 区域名
     */
    @TableField(value = "area_name")
    private String areaName;

    private static final long serialVersionUID = 1L;
}